﻿<Window x:Class="MyPoints.InputWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:MyPoints"
        mc:Ignorable="d"
        Title="InputWindow" Height="244.444" Width="643.21">
  <StackPanel Margin="12">
    <Label Content="Insert GPS-coordinates text:" />
    <TextBox x:Name="txtText" TextChanged="txtText_TextChanged" />
    <Label Content="Select analysing pattern:" />
    <ComboBox x:Name="cmbPatterns" SelectionChanged="cmbPatterns_SelectionChanged" />
    <Label Content="Resulting coordinates:" />
    <Label x:Name="lblResult" HorizontalAlignment="Center" FontStyle="Oblique" Content="--.------- --.-------" />
    <DockPanel Margin="0 16 0 0">
      <Button DockPanel.Dock="Right" x:Name="btnOk" Width="100" Content="Ok" Margin="0 0 0 0" IsCancel="True" Click="btnOk_Click" />
      <Button DockPanel.Dock="Left" x:Name="btnCancel" Width="100" Content="Cancel" Margin="0 0 8 0" IsDefault="True" />
    </DockPanel>
  </StackPanel>
</Window>
